package com.mystery.service;

import com.mystery.pojo.User;

import java.util.List;

public interface UserService {
	
	User login(String username, String password);

	int addUser(User user);

	int addFitness(User user);

	int update(String username,String password);

	User fitnessLogin(String username, String password);

	User managerLogin(String username, String password);

	List<User> list();

	List<User> search(String username);

	int delete(long id);
}
